Repository navigation
feat(v0.3): FTS5 por artigo, filtros jurídicos, fetch em 1 comando, MCP server e evals - #4
Merged
Merged
Conversation
- core: name files on UTF-8 failures, robust front matter parsing (CRLF, '...' close, '---' inside YAML strings), index metadata fields in a dedicated FTS5 column so titles/ementas are searchable - cli: new 'read' command returning full document with provenance, 'verify --reference -' for stdin, '--version' flag - packaging: PEP 639 license expression, readme, classifiers, setuptools>=77 pin - tests: cover encoding errors, front matter variants, metadata search, read/verify CLI paths (19 tests total) - ci: ruff (E9,F) and python -m build job - workflows: readable PR body for corpus sync, new smoke-corpus workflow validating index+search on pinned gitlink updates Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
criptogus
force-pushed
the
feat/v0.3-retrieval-fetch-mcp
branch
from
December 1, 2026 10:22
7ae562f to
9f216e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comportamento final
Acrescenta presets
fetch, leitura direta por artigo/linhas, busca sem acentos e equivalência de números pontuados, além de servidor MCP somente leitura. Preservaarticle,info,skills, paginação, filtros existentes e verificação em lote do main.A integração com o PR #2 preserva parsing de frontmatter e entrada de referência por stdin. Foram corrigidos leitura de corpo/linhas, tratamento de JSON que não é objeto e limite de resposta com caracteres escapados. A verificação consulta a revisão atual.
Filtros entregues: tipo, UF, ano, versão e exclusão de normas marcadas como revogadas. O índice é reconstruído de forma atômica; esta versão não implementa reaproveitamento incremental nem filtros esfera/número dedicados.
Validação
69 testes locais passaram na revisão integrada deste PR. Ruff e validação estrutural das skills passaram. CI passou em Python 3.11–3.14 no head
991fc0f. O PR #1 integra adicionalmente modos de busca, ferramentas portuguesas, skills ampliadas e distribuição de índice, com novo contrato schema 4.